<!--
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<app-create-dataset-datatype *ngIf="step=='select-datatype'" (close)="init();"></app-create-dataset-datatype>
<app-create-dataset-selectfile *ngIf="step=='select-file'" [datasetFiles]="datasetFiles" (close)="init();"></app-create-dataset-selectfile>
<app-create-dataset-selectsheet *ngIf="step=='select-sheet'" [datasetFiles]="datasetFiles" (close)="init();" (typeEmitter)="setCreateType($event);"></app-create-dataset-selectsheet>
<app-create-dataset-db-select *ngIf="step=='create-db-select'" [datasetJdbc]="datasetJdbc" (close)="init();"></app-create-dataset-db-select>
<app-create-dataset-db-query *ngIf="step=='create-db-query'" [datasetJdbc]="datasetJdbc" (close)="init();" (typeEmitter)="setCreateType($event);"></app-create-dataset-db-query>
<app-create-dataset-selecturl *ngIf="step=='select-url'" [datasetFiles]="datasetFiles" (close)="init();" (typeEmitter)="setCreateType($event);"></app-create-dataset-selecturl>
<app-create-dataset-staging-selectdata *ngIf="step=='create-dataset-staging-selectdata'" [datasetHive]="datasetHive" (close)="init()" (typeEmitter)="setCreateType($event);"></app-create-dataset-staging-selectdata>
<app-create-dataset-name *ngIf="step=='create-dataset-name'"
                         [datasetFiles]="datasetFiles"
                         [datasetHive]="datasetHive"
                         [datasetJdbc]="datasetJdbc"
                         (close)="init();"
                         [type]="type"
                         [isFromDatasetList]="isFromDatasetList">
</app-create-dataset-name>
